const state = {};
const scrapeElements = [];
const setCurrentScrape = (scrapeInfo) => {
	state.currentScrape = scrapeInfo;
};

const getCurrentScrape = (scrapeInfo) => {
	return state.currentScrape;

};

const saveScrapeElement = (scrapeInfo) => {
	scrapeElements.push(scrapeInfo);

};

const getScrapeElements = () => {
	return scrapeElements.slice();

};

export default {
	setCurrentScrape,
	getCurrentScrape,
	saveScrapeElement,
	getScrapeElements,

};